Controlling Sequence Grabber Channel Components
Sequence grabber channel components must provide a full set of functions that allow
the sequence grabber component to control the preview or record operation. The sequence grabber component can use these functions to start and stop the operation, to pause data collection, and to write captured data to a movie. This section describes these functions.The sequence grabber component uses the
SGStartPreview
function to start a preview operation. TheSGStartRecord
function starts a record operation. TheSGStop
function stops your channel component after a preview or record operation.The sequence grabber component grants processing time to your channel component
by calling theSGIdle
function. The sequence grabber notifies you of update events by calling yourSGUpdate
function.The sequence grabber pauses the current operation by calling the
SGPause
function.The sequence grabber component calls your
SGWriteSamples
function to write captured data to a movie file after a record operation.The sequence grabber component prepares your channel component for an upcoming preview or record operation by calling the
SGPrepare
function. This function also allows the sequence grabber component to verify that your component can support the parameters an application has specified. TheSGRelease
function releases system resources allocated during theSGPrepare
function.
Subtopics
- SGStartPreview
- SGStartRecord
- SGIdle
- SGUpdate
- SGStop
- SGWriteSamples
- SGPause
- SGPrepare
- SGRelease
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help